package com.woniuxy.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author fx
 * @since 2021-04-12
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("t_user_coupon")
@ApiModel(value="UserCoupon对象", description="")
public class UserCoupon implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty(value = "主键、自增")
        @TableId(value = "user_coupon_id", type = IdType.AUTO)
      private Integer userCouponId;

      @ApiModelProperty(value = "用户id")
      private Integer userId;

      @ApiModelProperty(value = "优惠券id")
      private Integer couponId;

      @ApiModelProperty(value = "用户的优惠券状态(已使用/未使用/已过期)")
      private String couponStatus;

      @ApiModelProperty(value = "用户领取优惠券时间")
      private Date userCouponCreateTime;

      @ApiModelProperty(value = "用户使用优惠券时间")
      private Date userCouponUpdateTime;


}
